package com.example.job.listener;

import com.example.job.po.SysJob;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Service;

/*
 * @className: SysJobListenerImpl
 * @author: chentao
 * @date: 2025/3/27 下午12:37
 * @Version: 1.0
 * @description:
 */
@Service
public class SysJobListenerImpl implements SysJobListener {

    Logger logger = LoggerFactory.getLogger(getClass());

    @Override
    public void success(ApplicationContext applicationContext, SysJob sysJob) {
        logger.debug("sysJobListener success : " + sysJob);
    }

    @Override
    public void failure(ApplicationContext applicationContext, SysJob sysJob) {
        logger.debug("sysJobListener failure : " + sysJob);
    }
}
